package com.moneywelcome.orderfacade.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("购买记录分页查询")
public class OrderPageVo {
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "每页容量/默认3",required = true)

    private Long size = 3L;
    @NotNull(message = "不能为空")
    @ApiModelProperty(value = "当前页数/默认1",required = true)
    private Long current = 1L;
    @ApiModelProperty("开始时间")
    private String startTime;
    @ApiModelProperty("结束时间")
    private String endTime;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("持仓id")
    private Long financialId;
    @ApiModelProperty("关键词")
    private String keyword;
}
